<%@ include file="inc/taglibs.jsp" %>
<%@tag import="java.io.IOException"%>
<%@tag import="com.pearlsoft.ui.core.TagUtils"%>

<%@ attribute rtexprvalue="true" required="true" name="name" description="字段名称"%>
<%@ attribute rtexprvalue="true" required="false" name="mapping" description="映射的字段"%>

<%@ attribute rtexprvalue="true" required="false" name="type" description="字段类型,auto,string,int,float,boolean,date"%>
<%@ attribute rtexprvalue="true" required="false" name="defaultValue" description=""%>
<%@ attribute rtexprvalue="true" required="false" name="convert" description="字段转换函数,function(value, record)"%>

<plsc:value>
	<plsc:attr name="name" test="${!empty(name)}">${name}</plsc:attr>
	<plsc:attr name="mapping" test="${!empty(mapping)}">${mapping}</plsc:attr>
	<plsc:attr name="type" test="${!empty(type)}">${type}</plsc:attr>
	<plsc:attr name="defaultValue" test="${!empty(defaultValue)}">${defaultValue}</plsc:attr>
	<plsc:attr name="convert" test="${!empty(convert)}" type="direct">${convert}</plsc:attr>
</plsc:value>